class Station < ActiveRecord::Base
	has_many :trips_as_salida, :class_name => 'Trip', :foreign_key => 'station_salida_id'
	has_many :trips_as_llegada, :class_name => 'Trip', :foreign_key => 'station_llegada_id'
	has_many :promotions_as_salida, :class_name => 'Promotion', :foreign_key => 'terminal_salida'
	has_many :promotions_as_llegada, :class_name => 'Promotion', :foreign_key => 'terminal_llegada'
	has_many :route_x_stations
end
